﻿<%@ Page Language="C#" validateRequest="false" AutoEventWireup="true" CodeBehind="lianshenhe.aspx.cs" Inherits="SzCourt.WebSite.manager.lianshenhe" %>
<%@ Register Src="~/control/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="~/control/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register src="~/control/pager.ascx" tagname="pager" tagprefix="uc3" %>
<%@ Register src="~/control/manager/menu.ascx" tagname="menu" tagprefix="uc4" %>
<%@ Register src="~/control/partselect.ascx" tagname="partselect" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>立案审核 管理平台 - 深圳市中级人民法院 </title>
    <meta id="ctl00_KeyWD" content="深圳,中级,法院,诉讼,政府" name="Keywords" />
    <meta id="ctl00_desP" content="深圳市中级人民法院" name="description" />
    <link href="/images/skin2010/base.css" rel="stylesheet" type="text/css" />
    <script src="/js/sw.js" type="text/javascript"></script>
</head>
<body>
    <div id="SZCOURT">
        <uc1:header ID="header1" runat="server" />
        <div class="content">
            <div class="dl">
                <uc4:menu ID="menu1" runat="server" />
            </div>
            <div class="dr">
                <uc5:partselect ID="partselect1" runat="server" />
                <!-- 执行公开 -->
                <div class="tab">
                    <div class="tt">
                        <h3 id="TabName" runat="server">立案审核</h3>
                        <p class="clear"></p>
                    </div>
                     <div class="search">
                        关键字:<input type="text" value="" class="w300 txt" id="txtKeyword" runat="server" />
                        <input type="button" value="查询" class="w60 btn" onclick="search();" />
                    </div>
                    <table class="tblgrid" cellpadding="0" cellspacing="0" id="tag11">
                        <tr>
                            <th width="80">案件编号</th>
                            <th width="70">立案类型</th> 
                            <th width="100">立案日期</th>  
                            <th width="100">电话</th>  
                            <th width="220">案由</th>  
                            <th width="76">立案状态</th>      
                            <th width="100">操作</th>                          
                        </tr>
                        <asp:Repeater runat="Server" ID="rptDataList">
                            <ItemTemplate>
                                <tr>
                                    <td width="100"><a href="/manager/lianshenheview.aspx?id=<%#Eval("PreCaseInfoID")%>"><%#Eval("PreCaseSerial")%></a></td>
                                    <td><%#Eval("PreCaseType").ToString() == "1" ? "民事案件" : Eval("PreCaseType").ToString() == "2" ? "商事案件" : Eval("PreCaseType").ToString() == "3" ? "执行案件" : Eval("PreCaseType")%></td>
                                    <td><%# Convert.ToDateTime(Eval("AddDateTime")).ToString("yyyy-MM-dd")%></td>
                                    <td><%#Eval("Phone")%></td>  
                                    <td><%#Eval("CauseOfAction")%></td> 
                                    <td><%#Eval("Audited").ToString() == "1" ? "审核通过" :(Eval("Audited").ToString() == "2"? "审核不通过":"未处理")%></td>   
                                    <td><a href="/manager/lianshenheview.aspx?id=<%#Eval("PreCaseInfoID")%>" class="mgr5 <%#Eval("Audited").ToString() == "0" ? "":"g_dn" %>">审核</a>&nbsp;<a  href="/manager/dellian.aspx?id=<%#Eval("PreCaseInfoID")%> class="mgr5">删除</a></td>  
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>      
                </div>
                
                <div class="page">
                    <uc3:pager ID="pager1" runat="server" />
                </div>
            </div>
            <div class="g_cf">
            </div>
        </div>

        <uc2:footer ID="footer1" runat="server" />
    </div>
</body>
</html>
<script type="text/javascript">
    function search() {
        window.location.href = "/manager/lianshenhe.aspx?keyword=" + encodeURIComponent(document.getElementById("txtKeyword").value);
    }
    
</script>